﻿#ifndef SETUPTOTALWIND_H
#define SETUPTOTALWIND_H

#include <QWidget>
#include <QDebug>
#include "setup1wind.h"
#include "setup2wind.h"
#include "setup3wind.h"
#include "setup4wind.h"
#include "setup5wind.h"
#include "setup6wind.h"
#include "setup7wind.h"
#include <tcpclient.h>
#include <CommonHelper.h>
#include <dbHelper.h>
#include "helpfile.h"

namespace Ui {
class setuptotalwind;
}

class setuptotalwind : public QWidget
{
    Q_OBJECT

public:
    explicit setuptotalwind(QWidget *parent = 0);
    ~setuptotalwind();

signals:
    void changeMainWindow();
    void changeSetUp1Window();
    void changeSetUp2Window();
    void changeSetUp3Window();
    void changeSetUp4Window();
    void changeSetUp5Window();
    void changeSetUp6Window();
    void changeSetUp7Window();
    void changeMaintainWindow();

private slots:
    void on_returnMainBtn_clicked();
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();
    void on_pushButton_3_clicked();
    void on_pushButton_6_clicked();
    void on_pushButton_7_clicked();
    void on_pushButton_8_clicked();
    void on_pushButton_9_clicked();
    void on_pushButton_10_clicked();
    void on_pushButton_11_clicked();

    void on_pushButton_5_clicked();

    void doorStatusChanged();
    void on_pushButton_12_clicked();

private:
    void showEvent(QShowEvent *event) override;
    void resizeEvent(QResizeEvent *event) override;
    void refShadeWindow();
    void passwordchange();

private:
    Ui::setuptotalwind *ui;
    TcpClient *tcpClient;
    CommonHelper *common;
    QWidget*  mpShadeWindow;
    helpfile *helpfileui;
};

#endif // SETUPTOTALWIND_H
